home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / dps.xml < prev    next >
Text File  |  2002-09-25  |  3KB  |  77 lines

  1. <search function="dps">
  2.   <name>DVDPriceSearch.com</name>
  3.   <description>Search for the best DVD prices from several online merchants.  Default search is by title.<br/>
  4.     <div class="helpboxDescLabels">Switches:</div>
  5.     <table class="helpboxDescTable">
  6.       <tr><td>/person</td><td> - </td><td>Actor/Director search</td></tr>
  7.       <tr><td>/more</td><td> - </td><td>Price greater than...</td></tr>
  8.       <tr><td>/less</td><td> - </td><td>Price less than...</td></tr>
  9.       <tr><td>/range</td><td> - </td><td>Price range (e.g. 5-9)</td></tr>
  10.       <tr><td>/msrp</td><td> - </td><td>Percent Off MSRP</td></tr>
  11.     </table>
  12.     <div class="helpboxDescLabels">Examples:</div>
  13.     <table class="helpboxDescTable">
  14.       <tr><td>dps kevin spacey /person</td></tr>
  15.       <tr><td>dps 14.99 /less</td></tr>
  16.     </table>
  17.   </description>
  18.   <category>Shopping</category>
  19.   <link>http://www.dvdpricesearch.com/</link>
  20.   <contributor>Steven J. Heil</contributor>
  21.   <email>sjheil_at_hotmail_dot_com</email>
  22.   <form name="dpsf"
  23.         action="http://www.dvdpricesearch.com/cgi-bin/dvdsearch2"
  24.         method="post">
  25.     <input type="hidden" name="cmd" value="simpleSearch"/>
  26.     <input type="hidden" name="sstype" value="title"/>
  27.     <input type="hidden" name="ssstore" value="ALL"/>
  28.     <input type="hidden" name="sstext" value=""/>
  29.   </form>
  30.   <script><![CDATA[
  31.     function dps(q)
  32.     {
  33.       if( nullArgs("dps", q) )
  34.         return false;
  35.  
  36.       var args = parseArgs(q, "person, more, less, range, msrp");
  37.  
  38.       if( q == "" )
  39.         openSearchWindow("http://www.dvdpricesearch.com/");
  40.  
  41.       else if( args.switches.length == 1 )
  42.       {
  43.         switch( args.switches[0].name )
  44.         {
  45.           case "more":
  46.             document.dpsf.sstype.value = "moreThan"; break;
  47.           case "less":
  48.             document.dpsf.sstype.value = "lessThan"; break;
  49.           case "range":
  50.             document.dpsf.sstype.value = "priceRange"; break;
  51.           case "person":
  52.             document.dpsf.sstype.value = "person"; break;
  53.           case "msrp":
  54.             document.dpsf.sstype.value = "msrp"; break;
  55.           case "title":
  56.           default:
  57.             document.dpsf.sstype.value = "title"; break;
  58.         }
  59.         document.dpsf.sstext.value = args.q;
  60.         submitForm(dpsf);
  61.       }
  62.       else if( args.switches.length > 1 )
  63.         nullArgs("dps","?");
  64.       else
  65.       {
  66.         document.dpsf.sstext.value = q;
  67.         submitForm(dpsf);
  68.       }
  69.     }
  70.   ]]></script>
  71.   <copyright>
  72.     Copyright (c) 2002 David Bau
  73.     Distributed under the terms of the
  74.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  75.   </copyright>
  76. </search>
  77.